<?php

namespace soa\ivr;

//use soa\client;

//class ivr extends client
class ivr{

    /**
     *获取云呼呼叫状态
     */
    public static function getIvrStatusMsg($call_error_code, $errCode, $callDuration, $callTime)
    {
        if ((int)$call_error_code > 0) {
            return '呼叫失败';
        }
        date_default_timezone_set('PRC');
        $callTime = strtotime($callTime);
        $now = strtotime(date('Y-m-d H:i:s'));
        if(strtoupper(gettype($errCode)) == 'NULL' && $now > $callTime && floor(($now - $callTime)/60) >= 10){
            return '呼叫失败';
        }

        $errCode = strtoupper(gettype($errCode)) == 'NULL' ? '-1' : (int)$errCode;
        if((int)$callDuration > 0){ //通话时长大于0时就是呼叫成功
             $errCode = 0;
        }

        //根据用户是否有输入，如果有输入的，则返回呼叫成功
        /*if(strtoupper(gettype($userInputKey)) != 'NULL'){
             $errCode = 0;
        }*/
        switch ($errCode) {
            case -1:
                $msg = '呼叫中';
                break;
            case 0:
                $msg = empty($callDuration) ? '客户未接' : '呼叫成功';
                break;
            case 108056:
                $msg = '呼叫成功'; //收到应用侧的挂机消息
                break;
            case 102000:
                $msg = '客户未接'; //用户侧拒接
                break;
            case 102005:
                $msg = '呼叫成功'; //获取按键超时
                break;
            case 108080:
                $msg = '呼叫失败'; //放音时文件不存在
                break;
            case 108035:
                $msg = '呼叫失败'; //呼叫限制
                break;
            case 108040:
                $msg = '呼叫失败'; //'未开通tts功能';
                break;
            case 100040:
                $msg = '呼叫失败'; //容联云通讯内部错误（可能是呼叫了新疆、西藏这些不支持的地方）
                break;
            case 108002:
                $msg = '呼叫失败';
                break;
            case 107770:
                $msg = '对方关机';
                break;
            case 107771:
                $msg = '对方停机';
                break;
            case 107772:
                $msg = '无法接通';
                break;
            case 107773:
                $msg = '对方忙音'; //两个可能，一是在通话中忙，一是来电被对方的手机拦截
                break;
            case 107774:
                $msg = '对方空号';
                break;
            case 107775:
                $msg = '无人接听';
                break;
            case 107776:
                $msg = '暂未接通'; //设置了来电提醒，运营商会发短信通知用户
                break;
            case 107777:
                $msg = '呼入限制'; //运营商相关限制，具体得看运营商
                break;
            case 107778:
                $msg = '网络忙';
                break;
            case 107779:
                $msg = '呼出限制'; //运营商相关限制，具体得看运营商
                break;
            default:
                $msg = '呼叫失败';
        }
        return $msg;

    }

    /**
     *获取网络电话状态
     */
    public static function getNetcallStatus($byetype){
        $byetype = intval($byetype);
        if($byetype == 1 || $byetype == 2) {
            return '呼叫成功';
        }elseif($byetype == -8){
            return '未接通';
        }else{
            return '呼叫失败';
        }
    }

    /**
     * 根据品牌获取云呼样本语音模板信息
     */
    public function getVoiceSampleList($brand){
        $ret = array();
        $path = \artisan\config::get('kdhelp_basic', 'path_ivr_voice');
        /*if(empty($path) || $path != '/upload/ivr_voice_new'){
            $path = '/upload/ivr_voice_new';
            logDebug('kdhelp/soa/ivr/ivr.php', 'test_new_upload_path_1_err');
        }else{
            logDebug('kdhelp/soa/ivr/ivr.php', 'test_new_upload_path_1_ok');
        }*/
        switch($brand){
            case 'sto': //申通
                $ret[-1] = array(
                    'ivid' => -1,
                    'title' => '代收点快取',
                    'fileName' => '10010',
                    'filePath' => $path.'/sample/10010.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => 'a859c2e4ab0f48439903da9ed9bcc8e2'
                );
                $ret[-2] = array(
                    'ivid' => -2,
                    'title' => '电话无法联系放门卫尽快取',
                    'fileName' => '10011',
                    'filePath' => $path.'/sample/10011.wav',
                    'voiceSec' => 11,
                    'szzy_id'  => '13d306a038464a23b20c6562f4c6ff8c'
                );
                $ret[-3] = array(
                    'ivid' => -3,
                    'title' => '放门卫尽快取',
                    'fileName' => '10012',
                    'filePath' => $path.'/sample/10012.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '078833f8da524268b74b186a362d61bc'
                );
                $ret[-4] = array(
                    'ivid' => -4,
                    'title' => '放前台尽快取',
                    'fileName' => '10013',
                    'filePath' => $path.'/sample/10013.wav',
                    'voiceSec' => 7,
                    'szzy_id'  => 'e44a826cb6f6409cb63b8b13eb1bf028'
                );
                $ret[-5] = array(
                    'ivid' => -5,
                    'title' => '放物业尽快取',
                    'fileName' => '10014',
                    'filePath' => $path.'/sample/10014.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '4258dc68524b45b48e94623d1d5959e4'
                );
                $ret[-6] = array(
                    'ivid' => -6,
                    'title' => '家中无人放门卫尽快取',
                    'fileName' => '10015',
                    'filePath' => $path.'/sample/10015.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => '9831c556951c4a89a3debf7d9ae29e9b'
                );
                $ret[-7] = array(
                    'ivid' => -7,
                    'title' => '快递到期提醒',
                    'fileName' => '10016',
                    'filePath' => $path.'/sample/10016.wav',
                    'voiceSec' => 13,
                    'szzy_id'  => 'edcdb7febd444070be5f53d413c589f8'
                );
                $ret[-8] = array(
                    'ivid' => -8,
                    'title' => '两天不取将退回',
                    'fileName' => '10017',
                    'filePath' => $path.'/sample/10017.wav',
                    'voiceSec' => 8,
                    'szzy_id'  => '5b09ec32af8d4a30be78470f4d95ae52'
                );
                $ret[-9] = array(
                    'ivid' => -9,
                    'title' => '楼下快取',
                    'fileName' => '10018',
                    'filePath' => $path.'/sample/10018.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => 'c2a7d57d1df44e63b4222ddf29fff9ce'
                );
                $ret[-10] = array(
                    'ivid' => -10,
                    'title' => '学校北门口领取',
                    'fileName' => '10019',
                    'filePath' => $path.'/sample/10019.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => 'af6f212858ad410cb853e994a6e19aa4'
                );
                $ret[-11] = array(
                    'ivid' => -11,
                    'title' => '派件通知',
                    'fileName' => '10003',
                    'filePath' => $path.'/sample/10003.wav',
                    'voiceSec' => 17,
                    'szzy_id'  => 'e3a8a2c4b6084a0d97604c126f30a4a7'
                );
                break;
            case 'qf': //全峰
                $ret[-1] = array(
                    'ivid' => -1,
                    'title' => '代收点快取',
                    'fileName' => '10020',
                    'filePath' => $path.'/sample/10020.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => '983a3b14b0744f6987e46e4a493e9024'
                );
                $ret[-2] = array(
                    'ivid' => -2,
                    'title' => '电话无法联系放门卫尽快取',
                    'fileName' => '10021',
                    'filePath' => $path.'/sample/10021.wav',
                    'voiceSec' => 11,
                    'szzy_id'  => '3c2e707602854d5d881a7e3b97c2c53d'
                );
                $ret[-3] = array(
                    'ivid' => -3,
                    'title' => '放门卫尽快取',
                    'fileName' => '10022',
                    'filePath' => $path.'/sample/10022.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '52b5b49382da4ee7b6455cfb1e2414b0'
                );
                $ret[-4] = array(
                    'ivid' => -4,
                    'title' => '放前台尽快取',
                    'fileName' => '10023',
                    'filePath' => $path.'/sample/10023.wav',
                    'voiceSec' => 7,
                    'szzy_id'  => '064c4d0e3ea04beca8ac2f79f677351f'
                );
                $ret[-5] = array(
                    'ivid' => -5,
                    'title' => '放物业尽快取',
                    'fileName' => '10024',
                    'filePath' => $path.'/sample/10024.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '085e3b76c4c146f1b042b0ee8d1472b6'
                );
                $ret[-6] = array(
                    'ivid' => -6,
                    'title' => '家中无人放门卫尽快取',
                    'fileName' => '10025',
                    'filePath' => $path.'/sample/10025.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => '6a53f230582f410babef8ef56ff82eab'
                );
                $ret[-7] = array(
                    'ivid' => -7,
                    'title' => '快递拒收提醒',
                    'fileName' => '10026',
                    'filePath' => $path.'/sample/10026.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => '3238d9ca0c1c49d6bebc1dc0d3dc8c17'
                );
                $ret[-8] = array(
                    'ivid' => -8,
                    'title' => '两天不取将退回',
                    'fileName' => '10027',
                    'filePath' => $path.'/sample/10027.wav',
                    'voiceSec' => 8,
                    'szzy_id'  => '1dbf6bc02a0842f6be50f553d6eb8cfd'
                );
                $ret[-9] = array(
                    'ivid' => -9,
                    'title' => '楼下快取',
                    'fileName' => '10028',
                    'filePath' => $path.'/sample/10028.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '55cec4ca23aa433688308412534204ba'
                );
                $ret[-10] = array(
                    'ivid' => -10,
                    'title' => '学校北门口领取',
                    'fileName' => '10029',
                    'filePath' => $path.'/sample/10029.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '7b5fc8b172dc4919bdb0ef48b2b26f49'
                );
                $ret[-11] = array(
                    'ivid' => -11,
                    'title' => '派件通知',
                    'fileName' => '10002',
                    'filePath' => $path.'/sample/10002.wav',
                    'voiceSec' => 17,
                    'szzy_id'  => 'dd4356bb97884c59a8afd7c16ee7967e'
                );
                break;
            case 'ems': //EMS
                $ret[-1] = array(
                    'ivid' => -1,
                    'title' => '代收点快取',
                    'fileName' => '10030',
                    'filePath' => $path.'/sample/10030.wav',
                    'voiceSec' => 13,
                    'szzy_id'  => 'bfdc5a0dbaee4eefa3dc3dd58353ae42'
                );
                $ret[-2] = array(
                    'ivid' => -2,
                    'title' => '电话无法联系放门卫尽快取',
                    'fileName' => '10031',
                    'filePath' => $path.'/sample/10031.wav',
                    'voiceSec' => 14,
                    'szzy_id'  => '7c9553694b9941e09cacde5469acd9bc'
                );
                $ret[-3] = array(
                    'ivid' => -3,
                    'title' => '放门卫尽快取',
                    'fileName' => '10032',
                    'filePath' => $path.'/sample/10032.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => 'e0331d4cb8ee4e6788c79745009d5db8'
                );
                $ret[-4] = array(
                    'ivid' => -4,
                    'title' => '放前台尽快取',
                    'fileName' => '10033',
                    'filePath' => $path.'/sample/10033.wav',
                    'voiceSec' => 8,
                    'szzy_id'  => '53cda794ee4e4444a346ff2aed6c9ee6'
                );
                $ret[-5] = array(
                    'ivid' => -5,
                    'title' => '放物业尽快取',
                    'fileName' => '10034',
                    'filePath' => $path.'/sample/10034.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => '38ceb6efaccf452d818bd8fb497f72ef'
                );
                $ret[-6] = array(
                    'ivid' => -6,
                    'title' => '家中无人放门卫尽快取',
                    'fileName' => '10035',
                    'filePath' => $path.'/sample/10035.wav',
                    'voiceSec' => 15,
                    'szzy_id'  => '49494d6723254c9da4c69eb6b09664b5'
                );
                $ret[-7] = array(
                    'ivid' => -7,
                    'title' => '快递拒收提醒',
                    'fileName' => '10036',
                    'filePath' => $path.'/sample/10036.wav',
                    'voiceSec' => 14,
                    'szzy_id'  => '525943ea4af7400aac742bcd58f58ffc'
                );
                $ret[-8] = array(
                    'ivid' => -8,
                    'title' => '两天不取将退回',
                    'fileName' => '10037',
                    'filePath' => $path.'/sample/10037.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => 'db5c304a9ea04a2a81e55efaa63d682c'
                );
                $ret[-9] = array(
                    'ivid' => -9,
                    'title' => '楼下快取',
                    'fileName' => '10038',
                    'filePath' => $path.'/sample/10038.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => '02b9a270e7f340cebf2702dc337b44bb'
                );
                $ret[-10] = array(
                    'ivid' => -10,
                    'title' => '学校北门口领取',
                    'fileName' => '10039',
                    'filePath' => $path.'/sample/10039.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => 'f16d862743e049e1872717259fcea588'
                );
                $ret[-11] = array(
                    'ivid' => -11,
                    'title' => '派件通知',
                    'fileName' => '10009',
                    'filePath' => $path.'/sample/10009.wav',
                    'voiceSec' => 17,
                    'szzy_id'  => 'beb9f582318643c8b590539d115df001'
                );
                break;
            case 'ht': //汇通
                $ret[-1] = array(
                    'ivid' => -1,
                    'title' => '代收点快取',
                    'fileName' => '10040',
                    'filePath' => $path.'/sample/10040.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => '144db26fce5f4e999d3b290a8b384e67'
                );
                $ret[-2] = array(
                    'ivid' => -2,
                    'title' => '电话无法联系放门卫尽快取',
                    'fileName' => '10041',
                    'filePath' => $path.'/sample/10041.wav',
                    'voiceSec' => 13,
                    'szzy_id'  => '149d4bb33df9425f9149d4430ba2992a'
                );
                $ret[-3] = array(
                    'ivid' => -3,
                    'title' => '放门卫尽快取',
                    'fileName' => '10042',
                    'filePath' => $path.'/sample/10042.wav',
                    'voiceSec' => 11,
                    'szzy_id'  => 'e5e51a6081224db3b74debac284c63dd'
                );
                $ret[-4] = array(
                    'ivid' => -4,
                    'title' => '放前台尽快取',
                    'fileName' => '10043',
                    'filePath' => $path.'/sample/10043.wav',
                    'voiceSec' => 8,
                    'szzy_id'  => 'db08e00845224f71ad86a67db8f5ad7a'
                );
                $ret[-5] = array(
                    'ivid' => -5,
                    'title' => '放物业尽快取',
                    'fileName' => '10044',
                    'filePath' => $path.'/sample/10044.wav',
                    'voiceSec' => 11,
                    'szzy_id'  => '56e99f9527b5400d88f760f83301f699'
                );
                $ret[-6] = array(
                    'ivid' => -6,
                    'title' => '家中无人放门卫尽快取',
                    'fileName' => '10045',
                    'filePath' => $path.'/sample/10045.wav',
                    'voiceSec' => 14,
                    'szzy_id'  => '8c2107d9db9843e282ae8e071070e7d7'
                );
                $ret[-7] = array(
                    'ivid' => -7,
                    'title' => '快递拒收提醒',
                    'fileName' => '10046',
                    'filePath' => $path.'/sample/10046.wav',
                    'voiceSec' => 14,
                    'szzy_id'  => '8a7cd95d586940cdb07d69e9949f1009'
                );
                $ret[-8] = array(
                    'ivid' => -8,
                    'title' => '两天不取将退回',
                    'fileName' => '10047',
                    'filePath' => $path.'/sample/10047.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => '35f855a81a3645f2bd8000313671b445'
                );
                $ret[-9] = array(
                    'ivid' => -9,
                    'title' => '楼下快取',
                    'fileName' => '10048',
                    'filePath' => $path.'/sample/10048.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => 'ac72af47d38e4e8fbe673d2b4fb06750'
                );
                $ret[-10] = array(
                    'ivid' => -10,
                    'title' => '学校北门口领取',
                    'fileName' => '10049',
                    'filePath' => $path.'/sample/10049.wav',
                    'voiceSec' => 11,
                    'szzy_id'  => 'db2d1444004d44fcb06ca857444e6094'
                );
                $ret[-11] = array(
                    'ivid' => -11,
                    'title' => '派件通知',
                    'fileName' => '10001',
                    'filePath' => $path.'/sample/10001.wav',
                    'voiceSec' => 17,
                    'szzy_id'  => 'e0eafdc3b50d455c814b72b5099dd899'
                );
                break;
            case 'sf': //顺丰
                $ret[-1] = array(
                    'ivid' => -1,
                    'title' => '代收点快取',
                    'fileName' => '10050',
                    'filePath' => $path.'/sample/10050.wav',
                    'voiceSec' => 13,
                    'szzy_id'  => '058fd4b8b21c42a6928cb2e76690bda0'
                );
                $ret[-2] = array(
                    'ivid' => -2,
                    'title' => '电话无法联系放门卫尽快取',
                    'fileName' => '10051',
                    'filePath' => $path.'/sample/10051.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => '84d35b8e6673444888bcea4079d91312'
                );
                $ret[-3] = array(
                    'ivid' => -3,
                    'title' => '放门卫尽快取',
                    'fileName' => '10052',
                    'filePath' => $path.'/sample/10052.wav',
                    'voiceSec' => 11,
                    'szzy_id'  => '57c18005a6844bb7ba1f6b943d99d87f'
                );
                $ret[-4] = array(
                    'ivid' => -4,
                    'title' => '放前台尽快取',
                    'fileName' => '10053',
                    'filePath' => $path.'/sample/10053.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '19c2a2a05c4e407c85648c884baa2656'
                );
                $ret[-5] = array(
                    'ivid' => -5,
                    'title' => '放物业尽快取',
                    'fileName' => '10054',
                    'filePath' => $path.'/sample/10054.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => '9122164a4d1c471298df4ddb005dd7c5'
                );
                $ret[-6] = array(
                    'ivid' => -6,
                    'title' => '家中无人放门卫尽快取',
                    'fileName' => '10055',
                    'filePath' => $path.'/sample/10055.wav',
                    'voiceSec' => 14,
                    'szzy_id'  => 'ba146cfe082d4fbb919642d663ba8f90'
                );
                $ret[-7] = array(
                    'ivid' => -7,
                    'title' => '快递拒收提醒',
                    'fileName' => '10056',
                    'filePath' => $path.'/sample/10056.wav',
                    'voiceSec' => 13,
                    'szzy_id'  => '2c4d00f69fcb4e4a85aec4e0ef33b2cc'
                );
                $ret[-8] = array(
                    'ivid' => -8,
                    'title' => '两天不取将退回',
                    'fileName' => '10057',
                    'filePath' => $path.'/sample/10057.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '7817e84dd0f445ce839b7d9d119dbc6a'
                );
                $ret[-9] = array(
                    'ivid' => -9,
                    'title' => '楼下快取',
                    'fileName' => '10058',
                    'filePath' => $path.'/sample/10058.wav',
                    'voiceSec' => 11,
                    'szzy_id'  => '3ec94006f93a4db2abc48bc97d2744c4'
                );
                $ret[-10] = array(
                    'ivid' => -10,
                    'title' => '学校北门口领取',
                    'fileName' => '10059',
                    'filePath' => $path.'/sample/10059.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '7fa3134cf03d4f4b9b646b2da0df9cf2'
                );
                $ret[-11] = array(
                    'ivid' => -11,
                    'title' => '派件通知',
                    'fileName' => '10004',
                    'filePath' => $path.'/sample/10004.wav',
                    'voiceSec' => 17,
                    'szzy_id'  => 'cbce15be3931478d80945fa9fe311ca6'
                );
                break;
            case 'tt': //天天
                $ret[-1] = array(
                    'ivid' => -1,
                    'title' => '代收点快取',
                    'fileName' => '10060',
                    'filePath' => $path.'/sample/10060.wav',
                    'voiceSec' => 13,
                    'szzy_id'  => 'dc1315827f914f78a7d6ccd6180b617b'
                );
                $ret[-2] = array(
                    'ivid' => -2,
                    'title' => '电话无法联系放门卫尽快取',
                    'fileName' => '10061',
                    'filePath' => $path.'/sample/10061.wav',
                    'voiceSec' => 14,
                    'szzy_id'  => '13aaff99fcc24a4a84f762c87c1a196c'
                );
                $ret[-3] = array(
                    'ivid' => -3,
                    'title' => '放门卫尽快取',
                    'fileName' => '10062',
                    'filePath' => $path.'/sample/10062.wav',
                    'voiceSec' => 11,
                    'szzy_id'  => 'c11c51128b54440b9299dba1563759b0'
                );
                $ret[-4] = array(
                    'ivid' => -4,
                    'title' => '放前台尽快取',
                    'fileName' => '10063',
                    'filePath' => $path.'/sample/10063.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '7afe0b97efc245a09a273e96ae3face0'
                );
                $ret[-5] = array(
                    'ivid' => -5,
                    'title' => '放物业尽快取',
                    'fileName' => '10064',
                    'filePath' => $path.'/sample/10064.wav',
                    'voiceSec' => 11,
                    'szzy_id'  => 'c4381a922c2847298f095fcfedb4fa11'
                );
                $ret[-6] = array(
                    'ivid' => -6,
                    'title' => '家中无人放门卫尽快取',
                    'fileName' => '10065',
                    'filePath' => $path.'/sample/10065.wav',
                    'voiceSec' => 14,
                    'szzy_id'  => '2c317f7b50804f1c99d58cf374247284'
                );
                $ret[-7] = array(
                    'ivid' => -7,
                    'title' => '快递拒收提醒',
                    'fileName' => '10066',
                    'filePath' => $path.'/sample/10066.wav',
                    'voiceSec' => 14,
                    'szzy_id'  => '5f0b77af1c604d428a7fdc39969be4d6'
                );
                $ret[-8] = array(
                    'ivid' => -8,
                    'title' => '两天不取将退回',
                    'fileName' => '10067',
                    'filePath' => $path.'/sample/10067.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => '2b7f0db1cc6848f99acb7ff97a0107d8'
                );
                $ret[-9] = array(
                    'ivid' => -9,
                    'title' => '楼下快取',
                    'fileName' => '10068',
                    'filePath' => $path.'/sample/10068.wav',
                    'voiceSec' => 11,
                    'szzy_id'  => 'e226e3d765554460a6d93b9852412e15'
                );
                $ret[-10] = array(
                    'ivid' => -10,
                    'title' => '学校北门口领取',
                    'fileName' => '10069',
                    'filePath' => $path.'/sample/10069.wav',
                    'voiceSec' => 8,
                    'szzy_id'  => '6fb75606cb23448997d5ae8f7a9e4788'
                );
                $ret[-11] = array(
                    'ivid' => -11,
                    'title' => '派件通知',
                    'fileName' => '10005',
                    'filePath' => $path.'/sample/10005.wav',
                    'voiceSec' => 16,
                    'szzy_id'  => '892cd4a32f78479e9f69bfb0e9ccbc89'
                );
                break;
            case 'yd': //韵达
                $ret[-1] = array(
                    'ivid' => -1,
                    'title' => '代收点快取',
                    'fileName' => '10070',
                    'filePath' => $path.'/sample/10070.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => '3510b5d21abe4a33855e6c9c6f930f10'
                );
                $ret[-2] = array(
                    'ivid' => -2,
                    'title' => '电话无法联系放门卫尽快取',
                    'fileName' => '10071',
                    'filePath' => $path.'/sample/10071.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => 'a76d1900c1814aa197354c321c107394'
                );
                $ret[-3] = array(
                    'ivid' => -3,
                    'title' => '放门卫尽快取',
                    'fileName' => '10072',
                    'filePath' => $path.'/sample/10072.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => '5045a092f608446b8be0a7a21ae0ce86'
                );
                $ret[-4] = array(
                    'ivid' => -4,
                    'title' => '放前台尽快取',
                    'fileName' => '10073',
                    'filePath' => $path.'/sample/10073.wav',
                    'voiceSec' => 7,
                    'szzy_id'  => '907ffb3ba6a54688ac72ca4809949dad'
                );
                $ret[-5] = array(
                    'ivid' => -5,
                    'title' => '放物业快取',
                    'fileName' => '10074',
                    'filePath' => $path.'/sample/10074.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '133ba6dc5d2b43f49ca294d92c16800b'
                );
                $ret[-6] = array(
                    'ivid' => -6,
                    'title' => '家中无人放门卫尽快取',
                    'fileName' => '10075',
                    'filePath' => $path.'/sample/10075.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => 'a29248185e7e4a4f8cfda84cefb5601e'
                );
                $ret[-7] = array(
                    'ivid' => -7,
                    'title' => '快递拒收提醒',
                    'fileName' => '10076',
                    'filePath' => $path.'/sample/10076.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => '40dc6ff8f3fa4c91a696328657161b95'
                );
                $ret[-8] = array(
                    'ivid' => -8,
                    'title' => '两天不取将退回',
                    'fileName' => '10077',
                    'filePath' => $path.'/sample/10077.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => 'e478b9dc4d714edba1eb9e5a8a925dc8'
                );
                $ret[-9] = array(
                    'ivid' => -9,
                    'title' => '楼下快取',
                    'fileName' => '10078',
                    'filePath' => $path.'/sample/10078.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => 'cd80baf1b8ed4531b8db19041c8a1ba8'
                );
                $ret[-10] = array(
                    'ivid' => -10,
                    'title' => '学校北门口领取',
                    'fileName' => '10079',
                    'filePath' => $path.'/sample/10079.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => 'cb9091d7dfc0412c8485db5065a59a37'
                );
                $ret[-11] = array(
                    'ivid' => -11,
                    'title' => '派件通知',
                    'fileName' => '10007',
                    'filePath' => $path.'/sample/10007.wav',
                    'voiceSec' => 17,
                    'szzy_id'  => '2bf81ab13aa8458da079d3cb92e283e4'
                );
                break;
            case 'yt': //圆通
                $ret[-1] = array(
                    'ivid' => -1,
                    'title' => '代收点快取',
                    'fileName' => '10080',
                    'filePath' => $path.'/sample/10080.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => 'a7d7cbb9e58d4335b84667663b92b6c5'
                );
                $ret[-2] = array(
                    'ivid' => -2,
                    'title' => '电话无法联系放门卫尽快取',
                    'fileName' => '10081',
                    'filePath' => $path.'/sample/10081.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => '3556df50833b41858bd02bf26ad02dbc'
                );
                $ret[-3] = array(
                    'ivid' => -3,
                    'title' => '放门卫尽快取',
                    'fileName' => '10082',
                    'filePath' => $path.'/sample/10082.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => 'bca48e3f37d44284bc9943bdf2224ed5'
                );
                $ret[-4] = array(
                    'ivid' => -4,
                    'title' => '放前台尽快取',
                    'fileName' => '10083',
                    'filePath' => $path.'/sample/10083.wav',
                    'voiceSec' => 7,
                    'szzy_id'  => '7e4e40a9f80e4a7789bec34d7d0df4b9'
                );
                $ret[-5] = array(
                    'ivid' => -5,
                    'title' => '放物业尽快取',
                    'fileName' => '10084',
                    'filePath' => $path.'/sample/10084.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => 'a1d32139ede54160823d672c8982ce8a'
                );
                $ret[-6] = array(
                    'ivid' => -6,
                    'title' => '家中无人放门卫尽快取',
                    'fileName' => '10085',
                    'filePath' => $path.'/sample/10085.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => '706c605e141b49308213da17a1da4986'
                );
                $ret[-7] = array(
                    'ivid' => -7,
                    'title' => '快递拒收提醒',
                    'fileName' => '10086',
                    'filePath' => $path.'/sample/10086.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => '04e7b28bcfba4395a05946c94f76a8a4'
                );
                $ret[-8] = array(
                    'ivid' => -8,
                    'title' => '两天不取将退回',
                    'fileName' => '10087',
                    'filePath' => $path.'/sample/10087.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => 'de8855b84fcf4846991bb169e0d06978'
                );
                $ret[-9] = array(
                    'ivid' => -9,
                    'title' => '楼下快取',
                    'fileName' => '10088',
                    'filePath' => $path.'/sample/10088.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '4c621d38417a454580ad2579d42580be'
                );
                $ret[-10] = array(
                    'ivid' => -10,
                    'title' => '学校北门口领取',
                    'fileName' => '10089',
                    'filePath' => $path.'/sample/10089.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => 'b8a89953ac834d618bd1d41c585edfc8'
                );
                $ret[-11] = array(
                    'ivid' => -11,
                    'title' => '派件通知',
                    'fileName' => '10006',
                    'filePath' => $path.'/sample/10006.wav',
                    'voiceSec' => 17,
                    'szzy_id'  => '7287269fb06d48c39a287a4e42007a93'
                );
                break;
            case 'zt': //中通
                $ret[-1] = array(
                    'ivid' => -1,
                    'title' => '代收点快取',
                    'fileName' => '10090',
                    'filePath' => $path.'/sample/10090.wav',
                    'voiceSec' => 13,
                    'szzy_id'  => 'ce668e64851c44c5b689adc40aacecfb'
                );
                $ret[-2] = array(
                    'ivid' => -2,
                    'title' => '电话无法联系放门卫尽快取',
                    'fileName' => '10091',
                    'filePath' => $path.'/sample/10091.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => 'ec8fbaf6bab74e2a956409c669fcf994'
                );
                $ret[-3] = array(
                    'ivid' => -3,
                    'title' => '放门卫尽快取',
                    'fileName' => '10092',
                    'filePath' => $path.'/sample/10092.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => 'd565baac54114d018dbd93cae2dad2c4'
                );
                $ret[-4] = array(
                    'ivid' => -4,
                    'title' => '放前台尽快取',
                    'fileName' => '10093',
                    'filePath' => $path.'/sample/10093.wav',
                    'voiceSec' => 8,
                    'szzy_id'  => '5c8cc20389ae4f64b7d0b184fc6f2881'
                );
                $ret[-5] = array(
                    'ivid' => -5,
                    'title' => '放物业尽快取',
                    'fileName' => '10094',
                    'filePath' => $path.'/sample/10094.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => 'c5a5ed7ae38e4de3b8afc3b0b1033a7a'
                );
                $ret[-6] = array(
                    'ivid' => -6,
                    'title' => '家中无人放门卫尽快取',
                    'fileName' => '10095',
                    'filePath' => $path.'/sample/10095.wav',
                    'voiceSec' => 11,
                    'szzy_id'  => 'a3484862b0c845238a84e94c7dac3aa8'
                );
                $ret[-7] = array(
                    'ivid' => -7,
                    'title' => '快递到期提醒',
                    'fileName' => '10096',
                    'filePath' => $path.'/sample/10096.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => 'ca36d90184054ee89d6eb2780264e326'
                );
                $ret[-8] = array(
                    'ivid' => -8,
                    'title' => '两天不取将退回',
                    'fileName' => '10097',
                    'filePath' => $path.'/sample/10097.wav',
                    'voiceSec' => 8,
                    'szzy_id'  => 'dbee898987a24a91a19afbe667082362'
                );
                $ret[-9] = array(
                    'ivid' => -9,
                    'title' => '楼下快取',
                    'fileName' => '10098',
                    'filePath' => $path.'/sample/10098.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '403bbbd6b34b47b286cc7336000c8305'
                );
                $ret[-10] = array(
                    'ivid' => -10,
                    'title' => '学校北门口领取',
                    'fileName' => '10099',
                    'filePath' => $path.'/sample/10099.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '8bca3db9701a4776a539c95bf8486ee5'
                );
                $ret[-11] = array(
                    'ivid' => -11,
                    'title' => '派件通知',
                    'fileName' => '10008',
                    'filePath' => $path.'/sample/10008.wav',
                    'voiceSec' => 17,
                    'szzy_id'  => '87fcae745d574b1fa97dd58ee8588d2f'
                );
                break;
            default: //通用各快递公司
                $ret[-1] = array(
                    'ivid' => -1,
                    'title' => '代收点快取',
                    'fileName' => '10100',
                    'filePath' => $path.'/sample/10100.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => 'ac0fa97e417f4f9fbf1b9a361196c03d'
                );
                $ret[-2] = array(
                    'ivid' => -2,
                    'title' => '电话无法联系放门卫尽快取',
                    'fileName' => '10101',
                    'filePath' => $path.'/sample/10101.wav',
                    'voiceSec' => 14,
                    'szzy_id'  => '88c8b25f183e46eb94b9f0b11a5d1868'
                );
                $ret[-3] = array(
                    'ivid' => -3,
                    'title' => '放门卫尽快取',
                    'fileName' => '10102',
                    'filePath' => $path.'/sample/10102.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => 'b059e93b3c0541f9b1fd63016d8d2aa1'
                );
                $ret[-4] = array(
                    'ivid' => -4,
                    'title' => '放前台尽快取',
                    'fileName' => '10103',
                    'filePath' => $path.'/sample/10103.wav',
                    'voiceSec' => 9,
                    'szzy_id'  => '5ebc74c94b80497281cc79cc0e0df77b'
                );
                $ret[-5] = array(
                    'ivid' => -5,
                    'title' => '放物业尽快取',
                    'fileName' => '10104',
                    'filePath' => $path.'/sample/10104.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => 'aab0b783046a4a7e886271093d23b645'
                );
                $ret[-6] = array(
                    'ivid' => -6,
                    'title' => '家中无人放门卫尽快取',
                    'fileName' => '10105',
                    'filePath' => $path.'/sample/10105.wav',
                    'voiceSec' => 12,
                    'szzy_id'  => 'c01a45d9b8d54748a3556113c8e0eb72'
                );
                $ret[-7] = array(
                    'ivid' => -7,
                    'title' => '快递拒收提醒',
                    'fileName' => '10106',
                    'filePath' => $path.'/sample/10106.wav',
                    'voiceSec' => 14,
                    'szzy_id'  => '2432fb533b67431da8c15e6302430f61'
                );
                $ret[-8] = array(
                    'ivid' => -8,
                    'title' => '两天不取将退回',
                    'fileName' => '10107',
                    'filePath' => $path.'/sample/10107.wav',
                    'voiceSec' => 11,
                    'szzy_id'  => 'cd1fadb03a7146c4a22e7b73858c3082'
                );
                $ret[-9] = array(
                    'ivid' => -9,
                    'title' => '楼下快取',
                    'fileName' => '10108',
                    'filePath' => $path.'/sample/10108.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => 'd5c69110c5af4e699321585dfa005532'
                );
                $ret[-10] = array(
                    'ivid' => -10,
                    'title' => '学校北门口领取',
                    'fileName' => '10109',
                    'filePath' => $path.'/sample/10109.wav',
                    'voiceSec' => 10,
                    'szzy_id'  => '5a0f5a7d587849afb453d15fb2724c49'
                );
                $ret[-11] = array(
                    'ivid' => -11,
                    'title' => '派件通知',
                    'fileName' => '10000',
                    'filePath' => $path.'/sample/10000.wav',
                    'voiceSec' => 17,
                    'szzy_id'  => '44eae1d65b274c9aa1ab57063e43d14f'
                );
                break;
        }
        $n = -1;
        foreach($ret as $k => $v){
            $return[$n]['ivid'] = $v['ivid'];
            $return[$n]['title'] = $v['title'];
            $return[$n]['fileName'] = $v['fileName'];
            $return[$n]['filePath'] = $v['filePath'];
            $return[$n]['voiceSec'] = $v['voiceSec'];
            $return[$n]['szzy_id'] = $v['szzy_id'];
            $return[$n]['createTime'] = '2015-08-13 09:00:00';
            $return[$n]['state'] = 1;
            $n--;
        }
        unset($ret);
        return $return;
    }

    /**
     * 根据文件名获取云呼样本语音模板信息
     */
    public function getVoiceSampleByFilename($filename){
        $path = \artisan\config::get('kdhelp_basic', 'path_ivr_voice');
        /*if(empty($path) || $path != '/upload/ivr_voice_new'){
            $path = '/upload/ivr_voice_new';
            logDebug('kdhelp/soa/ivr/ivr.php', 'test_new_upload_path_2_err');
        }else{
            logDebug('kdhelp/soa/ivr/ivr.php', 'test_new_upload_path_2_ok');
        }*/
        $ret[10000] = array(
            'ivid' => -11,
            'title' => '派件通知',
            'fileName' => '10000',
            'filePath' => $path.'/sample/10000.wav',
            'voiceSec' => 17,
            'szzy_id'  => '44eae1d65b274c9aa1ab57063e43d14f'
        );
        $ret[10001] = array(
            'ivid' => -11,
            'title' => '派件通知',
            'fileName' => '10001',
            'filePath' => $path.'/sample/10001.wav',
            'voiceSec' => 17,
            'szzy_id'  => 'e0eafdc3b50d455c814b72b5099dd899'
        );
        $ret[10002] = array(
            'ivid' => -11,
            'title' => '派件通知',
            'fileName' => '10002',
            'filePath' => $path.'/sample/10002.wav',
            'voiceSec' => 17,
            'szzy_id'  => 'dd4356bb97884c59a8afd7c16ee7967e'
        );
        $ret[10003] = array(
            'ivid' => -11,
            'title' => '派件通知',
            'fileName' => '10003',
            'filePath' => $path.'/sample/10003.wav',
            'voiceSec' => 17,
            'szzy_id'  => 'e3a8a2c4b6084a0d97604c126f30a4a7'
        );
        $ret[10004] = array(
            'ivid' => -11,
            'title' => '派件通知',
            'fileName' => '10004',
            'filePath' => $path.'/sample/10004.wav',
            'voiceSec' => 17,
            'szzy_id'  => 'cbce15be3931478d80945fa9fe311ca6'
        );
        $ret[10005] = array(
            'ivid' => -11,
            'title' => '派件通知',
            'fileName' => '10005',
            'filePath' => $path.'/sample/10005.wav',
            'voiceSec' => 16,
            'szzy_id'  => '892cd4a32f78479e9f69bfb0e9ccbc89'
        );
        $ret[10006] = array(
            'ivid' => -11,
            'title' => '派件通知',
            'fileName' => '10006',
            'filePath' => $path.'/sample/10006.wav',
            'voiceSec' => 17,
            'szzy_id'  => '7287269fb06d48c39a287a4e42007a93'
        );
        $ret[10007] = array(
            'ivid' => -11,
            'title' => '派件通知',
            'fileName' => '10007',
            'filePath' => $path.'/sample/10007.wav',
            'voiceSec' => 17,
            'szzy_id'  => '2bf81ab13aa8458da079d3cb92e283e4'
        );
        $ret[10008] = array(
            'ivid' => -11,
            'title' => '派件通知',
            'fileName' => '10008',
            'filePath' => $path.'/sample/10008.wav',
            'voiceSec' => 17,
            'szzy_id'  => '87fcae745d574b1fa97dd58ee8588d2f'
        );
        $ret[10009] = array(
            'ivid' => -11,
            'title' => '派件通知',
            'fileName' => '10009',
            'filePath' => $path.'/sample/10009.wav',
            'voiceSec' => 17,
            'szzy_id'  => 'beb9f582318643c8b590539d115df001'
        );
        $ret[10010] = array(
            'ivid' => -1,
            'title' => '代收点快取',
            'fileName' => '10010',
            'filePath' => $path.'/sample/10010.wav',
            'voiceSec' => 12,
            'szzy_id'  => 'a859c2e4ab0f48439903da9ed9bcc8e2'
        );
        $ret[10011] = array(
            'ivid' => -2,
            'title' => '电话无法联系放门卫尽快取',
            'fileName' => '10011',
            'filePath' => $path.'/sample/10011.wav',
            'voiceSec' => 11,
            'szzy_id'  => '13d306a038464a23b20c6562f4c6ff8c'
        );
        $ret[10012] = array(
            'ivid' => -3,
            'title' => '放门卫尽快取',
            'fileName' => '10012',
            'filePath' => $path.'/sample/10012.wav',
            'voiceSec' => 9,
            'szzy_id'  => '078833f8da524268b74b186a362d61bc'
        );
        $ret[10013] = array(
            'ivid' => -4,
            'title' => '放前台尽快取',
            'fileName' => '10013',
            'filePath' => $path.'/sample/10013.wav',
            'voiceSec' => 7,
            'szzy_id'  => 'e44a826cb6f6409cb63b8b13eb1bf028'
        );
        $ret[10014] = array(
            'ivid' => -5,
            'title' => '放物业尽快取',
            'fileName' => '10014',
            'filePath' => $path.'/sample/10014.wav',
            'voiceSec' => 9,
            'szzy_id'  => '4258dc68524b45b48e94623d1d5959e4'
        );
        $ret[10015] = array(
            'ivid' => -6,
            'title' => '家中无人放门卫尽快取',
            'fileName' => '10015',
            'filePath' => $path.'/sample/10015.wav',
            'voiceSec' => 10,
            'szzy_id'  => '9831c556951c4a89a3debf7d9ae29e9b'
        );
        $ret[10016] = array(
            'ivid' => -7,
            'title' => '快递到期提醒',
            'fileName' => '10016',
            'filePath' => $path.'/sample/10016.wav',
            'voiceSec' => 13,
            'szzy_id'  => 'edcdb7febd444070be5f53d413c589f8'
        );
        $ret[10017] = array(
            'ivid' => -8,
            'title' => '两天不取将退回',
            'fileName' => '10017',
            'filePath' => $path.'/sample/10017.wav',
            'voiceSec' => 8,
            'szzy_id'  => '5b09ec32af8d4a30be78470f4d95ae52'
        );
        $ret[10018] = array(
            'ivid' => -9,
            'title' => '楼下快取',
            'fileName' => '10018',
            'filePath' => $path.'/sample/10018.wav',
            'voiceSec' => 9,
            'szzy_id'  => 'c2a7d57d1df44e63b4222ddf29fff9ce'
        );
        $ret[10019] = array(
            'ivid' => -10,
            'title' => '学校北门口领取',
            'fileName' => '10019',
            'filePath' => $path.'/sample/10019.wav',
            'voiceSec' => 9,
            'szzy_id'  => 'af6f212858ad410cb853e994a6e19aa4'
        );
        $ret[10020] = array(
            'ivid' => -1,
            'title' => '代收点快取',
            'fileName' => '10020',
            'filePath' => $path.'/sample/10020.wav',
            'voiceSec' => 10,
            'szzy_id'  => '983a3b14b0744f6987e46e4a493e9024'
        );
        $ret[10021] = array(
            'ivid' => -2,
            'title' => '电话无法联系放门卫尽快取',
            'fileName' => '10021',
            'filePath' => $path.'/sample/10021.wav',
            'voiceSec' => 11,
            'szzy_id'  => '3c2e707602854d5d881a7e3b97c2c53d'
        );
        $ret[10022] = array(
            'ivid' => -3,
            'title' => '放门卫尽快取',
            'fileName' => '10022',
            'filePath' => $path.'/sample/10022.wav',
            'voiceSec' => 9,
            'szzy_id'  => '52b5b49382da4ee7b6455cfb1e2414b0'
        );
        $ret[10023] = array(
            'ivid' => -4,
            'title' => '放前台尽快取',
            'fileName' => '10023',
            'filePath' => $path.'/sample/10023.wav',
            'voiceSec' => 7,
            'szzy_id'  => '064c4d0e3ea04beca8ac2f79f677351f'
        );
        $ret[10024] = array(
            'ivid' => -5,
            'title' => '放物业尽快取',
            'fileName' => '10024',
            'filePath' => $path.'/sample/10024.wav',
            'voiceSec' => 9,
            'szzy_id'  => '085e3b76c4c146f1b042b0ee8d1472b6'
        );
        $ret[10025] = array(
            'ivid' => -6,
            'title' => '家中无人放门卫尽快取',
            'fileName' => '10025',
            'filePath' => $path.'/sample/10025.wav',
            'voiceSec' => 12,
            'szzy_id'  => '6a53f230582f410babef8ef56ff82eab'
        );
        $ret[10026] = array(
            'ivid' => -7,
            'title' => '快递拒收提醒',
            'fileName' => '10026',
            'filePath' => $path.'/sample/10026.wav',
            'voiceSec' => 12,
            'szzy_id'  => '3238d9ca0c1c49d6bebc1dc0d3dc8c17'
        );
        $ret[10027] = array(
            'ivid' => -8,
            'title' => '两天不取将退回',
            'fileName' => '10027',
            'filePath' => $path.'/sample/10027.wav',
            'voiceSec' => 8,
            'szzy_id'  => '1dbf6bc02a0842f6be50f553d6eb8cfd'
        );
        $ret[10028] = array(
            'ivid' => -9,
            'title' => '楼下快取',
            'fileName' => '10028',
            'filePath' => $path.'/sample/10028.wav',
            'voiceSec' => 9,
            'szzy_id'  => '55cec4ca23aa433688308412534204ba'
        );
        $ret[10029] = array(
            'ivid' => -10,
            'title' => '学校北门口领取',
            'fileName' => '10029',
            'filePath' => $path.'/sample/10029.wav',
            'voiceSec' => 9,
            'szzy_id'  => '7b5fc8b172dc4919bdb0ef48b2b26f49'
        );
        $ret[10030] = array(
            'ivid' => -1,
            'title' => '代收点快取',
            'fileName' => '10030',
            'filePath' => $path.'/sample/10030.wav',
            'voiceSec' => 13,
            'szzy_id'  => 'bfdc5a0dbaee4eefa3dc3dd58353ae42'
        );
        $ret[10031] = array(
            'ivid' => -2,
            'title' => '电话无法联系放门卫尽快取',
            'fileName' => '10031',
            'filePath' => $path.'/sample/10031.wav',
            'voiceSec' => 14,
            'szzy_id'  => '7c9553694b9941e09cacde5469acd9bc'
        );
        $ret[10032] = array(
            'ivid' => -3,
            'title' => '放门卫尽快取',
            'fileName' => '10032',
            'filePath' => $path.'/sample/10032.wav',
            'voiceSec' => 10,
            'szzy_id'  => 'e0331d4cb8ee4e6788c79745009d5db8'
        );
        $ret[10033] = array(
            'ivid' => -4,
            'title' => '放前台尽快取',
            'fileName' => '10033',
            'filePath' => $path.'/sample/10033.wav',
            'voiceSec' => 8,
            'szzy_id'  => '53cda794ee4e4444a346ff2aed6c9ee6'
        );
        $ret[10034] = array(
            'ivid' => -5,
            'title' => '放物业尽快取',
            'fileName' => '10034',
            'filePath' => $path.'/sample/10034.wav',
            'voiceSec' => 12,
            'szzy_id'  => '38ceb6efaccf452d818bd8fb497f72ef'
        );
        $ret[10035] = array(
            'ivid' => -6,
            'title' => '家中无人放门卫尽快取',
            'fileName' => '10035',
            'filePath' => $path.'/sample/10035.wav',
            'voiceSec' => 15,
            'szzy_id'  => '49494d6723254c9da4c69eb6b09664b5'
        );
        $ret[10036] = array(
            'ivid' => -7,
            'title' => '快递拒收提醒',
            'fileName' => '10036',
            'filePath' => $path.'/sample/10036.wav',
            'voiceSec' => 14,
            'szzy_id'  => '525943ea4af7400aac742bcd58f58ffc'
        );
        $ret[10037] = array(
            'ivid' => -8,
            'title' => '两天不取将退回',
            'fileName' => '10037',
            'filePath' => $path.'/sample/10037.wav',
            'voiceSec' => 9,
            'szzy_id'  => 'db5c304a9ea04a2a81e55efaa63d682c'
        );
        $ret[10038] = array(
            'ivid' => -9,
            'title' => '楼下快取',
            'fileName' => '10038',
            'filePath' => $path.'/sample/10038.wav',
            'voiceSec' => 10,
            'szzy_id'  => '02b9a270e7f340cebf2702dc337b44bb'
        );
        $ret[10039] = array(
            'ivid' => -10,
            'title' => '学校北门口领取',
            'fileName' => '10039',
            'filePath' => $path.'/sample/10039.wav',
            'voiceSec' => 10,
            'szzy_id'  => 'f16d862743e049e1872717259fcea588'
        );
        $ret[10040] = array(
            'ivid' => -1,
            'title' => '代收点快取',
            'fileName' => '10040',
            'filePath' => $path.'/sample/10040.wav',
            'voiceSec' => 12,
            'szzy_id'  => '144db26fce5f4e999d3b290a8b384e67'
        );
        $ret[10041] = array(
            'ivid' => -2,
            'title' => '电话无法联系放门卫尽快取',
            'fileName' => '10041',
            'filePath' => $path.'/sample/10041.wav',
            'voiceSec' => 13,
            'szzy_id'  => '149d4bb33df9425f9149d4430ba2992a'
        );
        $ret[10042] = array(
            'ivid' => -3,
            'title' => '放门卫尽快取',
            'fileName' => '10042',
            'filePath' => $path.'/sample/10042.wav',
            'voiceSec' => 11,
            'szzy_id'  => 'e5e51a6081224db3b74debac284c63dd'
        );
        $ret[10043] = array(
            'ivid' => -4,
            'title' => '放前台尽快取',
            'fileName' => '10043',
            'filePath' => $path.'/sample/10043.wav',
            'voiceSec' => 8,
            'szzy_id'  => 'db08e00845224f71ad86a67db8f5ad7a'
        );
        $ret[10044] = array(
            'ivid' => -5,
            'title' => '放物业尽快取',
            'fileName' => '10044',
            'filePath' => $path.'/sample/10044.wav',
            'voiceSec' => 11,
            'szzy_id'  => '56e99f9527b5400d88f760f83301f699'
        );
        $ret[10045] = array(
            'ivid' => -6,
            'title' => '家中无人放门卫尽快取',
            'fileName' => '10045',
            'filePath' => $path.'/sample/10045.wav',
            'voiceSec' => 14,
            'szzy_id'  => '8c2107d9db9843e282ae8e071070e7d7'
        );
        $ret[10046] = array(
            'ivid' => -7,
            'title' => '快递拒收提醒',
            'fileName' => '10046',
            'filePath' => $path.'/sample/10046.wav',
            'voiceSec' => 14,
            'szzy_id'  => '8a7cd95d586940cdb07d69e9949f1009'
        );
        $ret[10047] = array(
            'ivid' => -8,
            'title' => '两天不取将退回',
            'fileName' => '10047',
            'filePath' => $path.'/sample/10047.wav',
            'voiceSec' => 10,
            'szzy_id'  => '35f855a81a3645f2bd8000313671b445'
        );
        $ret[10048] = array(
            'ivid' => -9,
            'title' => '楼下快取',
            'fileName' => '10048',
            'filePath' => $path.'/sample/10048.wav',
            'voiceSec' => 10,
            'szzy_id'  => 'ac72af47d38e4e8fbe673d2b4fb06750'
        );
        $ret[10049] = array(
            'ivid' => -10,
            'title' => '学校北门口领取',
            'fileName' => '10049',
            'filePath' => $path.'/sample/10049.wav',
            'voiceSec' => 11,
            'szzy_id'  => 'db2d1444004d44fcb06ca857444e6094'
        );
        $ret[10050] = array(
            'ivid' => -1,
            'title' => '代收点快取',
            'fileName' => '10050',
            'filePath' => $path.'/sample/10050.wav',
            'voiceSec' => 13,
            'szzy_id'  => '058fd4b8b21c42a6928cb2e76690bda0'
        );
        $ret[10051] = array(
            'ivid' => -2,
            'title' => '电话无法联系放门卫尽快取',
            'fileName' => '10051',
            'filePath' => $path.'/sample/10051.wav',
            'voiceSec' => 12,
            'szzy_id'  => '84d35b8e6673444888bcea4079d91312'
        );
        $ret[10052] = array(
            'ivid' => -3,
            'title' => '放门卫尽快取',
            'fileName' => '10052',
            'filePath' => $path.'/sample/10052.wav',
            'voiceSec' => 11,
            'szzy_id'  => '57c18005a6844bb7ba1f6b943d99d87f'
        );
        $ret[10053] = array(
            'ivid' => -4,
            'title' => '放前台尽快取',
            'fileName' => '10053',
            'filePath' => $path.'/sample/10053.wav',
            'voiceSec' => 9,
            'szzy_id'  => '19c2a2a05c4e407c85648c884baa2656'
        );
        $ret[10054] = array(
            'ivid' => -5,
            'title' => '放物业尽快取',
            'fileName' => '10054',
            'filePath' => $path.'/sample/10054.wav',
            'voiceSec' => 10,
            'szzy_id'  => '9122164a4d1c471298df4ddb005dd7c5'
        );
        $ret[10055] = array(
            'ivid' => -6,
            'title' => '家中无人放门卫尽快取',
            'fileName' => '10055',
            'filePath' => $path.'/sample/10055.wav',
            'voiceSec' => 14,
            'szzy_id'  => 'ba146cfe082d4fbb919642d663ba8f90'
        );
        $ret[10056] = array(
            'ivid' => -7,
            'title' => '快递拒收提醒',
            'fileName' => '10056',
            'filePath' => $path.'/sample/10056.wav',
            'voiceSec' => 13,
            'szzy_id'  => '2c4d00f69fcb4e4a85aec4e0ef33b2cc'
        );
        $ret[10057] = array(
            'ivid' => -8,
            'title' => '两天不取将退回',
            'fileName' => '10057',
            'filePath' => $path.'/sample/10057.wav',
            'voiceSec' => 9,
            'szzy_id'  => '7817e84dd0f445ce839b7d9d119dbc6a'
        );
        $ret[10058] = array(
            'ivid' => -9,
            'title' => '楼下快取',
            'fileName' => '10058',
            'filePath' => $path.'/sample/10058.wav',
            'voiceSec' => 11,
            'szzy_id'  => '3ec94006f93a4db2abc48bc97d2744c4'
        );
        $ret[10059] = array(
            'ivid' => -10,
            'title' => '学校北门口领取',
            'fileName' => '10059',
            'filePath' => $path.'/sample/10059.wav',
            'voiceSec' => 9,
            'szzy_id'  => '7fa3134cf03d4f4b9b646b2da0df9cf2'
        );
        $ret[10060] = array(
            'ivid' => -1,
            'title' => '代收点快取',
            'fileName' => '10060',
            'filePath' => $path.'/sample/10060.wav',
            'voiceSec' => 13,
            'szzy_id'  => 'dc1315827f914f78a7d6ccd6180b617b'
        );
        $ret[10061] = array(
            'ivid' => -2,
            'title' => '电话无法联系放门卫尽快取',
            'fileName' => '10061',
            'filePath' => $path.'/sample/10061.wav',
            'voiceSec' => 14,
            'szzy_id'  => '13aaff99fcc24a4a84f762c87c1a196c'
        );
        $ret[10062] = array(
            'ivid' => -3,
            'title' => '放门卫尽快取',
            'fileName' => '10062',
            'filePath' => $path.'/sample/10062.wav',
            'voiceSec' => 11,
            'szzy_id'  => 'c11c51128b54440b9299dba1563759b0'
        );
        $ret[10063] = array(
            'ivid' => -4,
            'title' => '放前台尽快取',
            'fileName' => '10063',
            'filePath' => $path.'/sample/10063.wav',
            'voiceSec' => 9,
            'szzy_id'  => '7afe0b97efc245a09a273e96ae3face0'
        );
        $ret[10064] = array(
            'ivid' => -5,
            'title' => '放物业尽快取',
            'fileName' => '10064',
            'filePath' => $path.'/sample/10064.wav',
            'voiceSec' => 11,
            'szzy_id'  => 'c4381a922c2847298f095fcfedb4fa11'
        );
        $ret[10065] = array(
            'ivid' => -6,
            'title' => '家中无人放门卫尽快取',
            'fileName' => '10065',
            'filePath' => $path.'/sample/10065.wav',
            'voiceSec' => 14,
            'szzy_id'  => '2c317f7b50804f1c99d58cf374247284'
        );
        $ret[10066] = array(
            'ivid' => -7,
            'title' => '快递拒收提醒',
            'fileName' => '10066',
            'filePath' => $path.'/sample/10066.wav',
            'voiceSec' => 14,
            'szzy_id'  => '5f0b77af1c604d428a7fdc39969be4d6'
        );
        $ret[10067] = array(
            'ivid' => -8,
            'title' => '两天不取将退回',
            'fileName' => '10067',
            'filePath' => $path.'/sample/10067.wav',
            'voiceSec' => 10,
            'szzy_id'  => '2b7f0db1cc6848f99acb7ff97a0107d8'
        );
        $ret[10068] = array(
            'ivid' => -9,
            'title' => '楼下快取',
            'fileName' => '10068',
            'filePath' => $path.'/sample/10068.wav',
            'voiceSec' => 11,
            'szzy_id'  => 'e226e3d765554460a6d93b9852412e15'
        );
        $ret[10069] = array(
            'ivid' => -10,
            'title' => '学校北门口领取',
            'fileName' => '10069',
            'filePath' => $path.'/sample/10069.wav',
            'voiceSec' => 8,
            'szzy_id'  => '6fb75606cb23448997d5ae8f7a9e4788'
        );
        $ret[10070] = array(
            'ivid' => -1,
            'title' => '代收点快取',
            'fileName' => '10070',
            'filePath' => $path.'/sample/10070.wav',
            'voiceSec' => 10,
            'szzy_id'  => '3510b5d21abe4a33855e6c9c6f930f10'
        );
        $ret[10071] = array(
            'ivid' => -2,
            'title' => '电话无法联系放门卫尽快取',
            'fileName' => '10071',
            'filePath' => $path.'/sample/10071.wav',
            'voiceSec' => 12,
            'szzy_id'  => 'a76d1900c1814aa197354c321c107394'
        );
        $ret[10072] = array(
            'ivid' => -3,
            'title' => '放门卫尽快取',
            'fileName' => '10072',
            'filePath' => $path.'/sample/10072.wav',
            'voiceSec' => 10,
            'szzy_id'  => '5045a092f608446b8be0a7a21ae0ce86'
        );
        $ret[10073] = array(
            'ivid' => -4,
            'title' => '放前台尽快取',
            'fileName' => '10073',
            'filePath' => $path.'/sample/10073.wav',
            'voiceSec' => 7,
            'szzy_id'  => '907ffb3ba6a54688ac72ca4809949dad'
        );
        $ret[10074] = array(
            'ivid' => -5,
            'title' => '放物业快取',
            'fileName' => '10074',
            'filePath' => $path.'/sample/10074.wav',
            'voiceSec' => 9,
            'szzy_id'  => '133ba6dc5d2b43f49ca294d92c16800b'
        );
        $ret[10075] = array(
            'ivid' => -6,
            'title' => '家中无人放门卫尽快取',
            'fileName' => '10075',
            'filePath' => $path.'/sample/10075.wav',
            'voiceSec' => 12,
            'szzy_id'  => 'a29248185e7e4a4f8cfda84cefb5601e'
        );
        $ret[10076] = array(
            'ivid' => -7,
            'title' => '快递拒收提醒',
            'fileName' => '10076',
            'filePath' => $path.'/sample/10076.wav',
            'voiceSec' => 12,
            'szzy_id'  => '40dc6ff8f3fa4c91a696328657161b95'
        );
        $ret[10077] = array(
            'ivid' => -8,
            'title' => '两天不取将退回',
            'fileName' => '10077',
            'filePath' => $path.'/sample/10077.wav',
            'voiceSec' => 9,
            'szzy_id'  => 'e478b9dc4d714edba1eb9e5a8a925dc8'
        );
        $ret[10078] = array(
            'ivid' => -9,
            'title' => '楼下快取',
            'fileName' => '10078',
            'filePath' => $path.'/sample/10078.wav',
            'voiceSec' => 9,
            'szzy_id'  => 'cd80baf1b8ed4531b8db19041c8a1ba8'
        );
        $ret[10079] = array(
            'ivid' => -10,
            'title' => '学校北门口领取',
            'fileName' => '10079',
            'filePath' => $path.'/sample/10079.wav',
            'voiceSec' => 9,
            'szzy_id'  => 'cb9091d7dfc0412c8485db5065a59a37'
        );
        $ret[10080] = array(
            'ivid' => -1,
            'title' => '代收点快取',
            'fileName' => '10080',
            'filePath' => $path.'/sample/10080.wav',
            'voiceSec' => 12,
            'szzy_id'  => 'a7d7cbb9e58d4335b84667663b92b6c5'
        );
        $ret[10081] = array(
            'ivid' => -2,
            'title' => '电话无法联系放门卫尽快取',
            'fileName' => '10081',
            'filePath' => $path.'/sample/10081.wav',
            'voiceSec' => 12,
            'szzy_id'  => '3556df50833b41858bd02bf26ad02dbc'
        );
        $ret[10082] = array(
            'ivid' => -3,
            'title' => '放门卫尽快取',
            'fileName' => '10082',
            'filePath' => $path.'/sample/10082.wav',
            'voiceSec' => 9,
            'szzy_id'  => 'bca48e3f37d44284bc9943bdf2224ed5'
        );
        $ret[10083] = array(
            'ivid' => -4,
            'title' => '放前台尽快取',
            'fileName' => '10083',
            'filePath' => $path.'/sample/10083.wav',
            'voiceSec' => 7,
            'szzy_id'  => '7e4e40a9f80e4a7789bec34d7d0df4b9'
        );
        $ret[10084] = array(
            'ivid' => -5,
            'title' => '放物业尽快取',
            'fileName' => '10084',
            'filePath' => $path.'/sample/10084.wav',
            'voiceSec' => 9,
            'szzy_id'  => 'a1d32139ede54160823d672c8982ce8a'
        );
        $ret[10085] = array(
            'ivid' => -6,
            'title' => '家中无人放门卫尽快取',
            'fileName' => '10085',
            'filePath' => $path.'/sample/10085.wav',
            'voiceSec' => 12,
            'szzy_id'  => '706c605e141b49308213da17a1da4986'
        );
        $ret[10086] = array(
            'ivid' => -7,
            'title' => '快递拒收提醒',
            'fileName' => '10086',
            'filePath' => $path.'/sample/10086.wav',
            'voiceSec' => 12,
            'szzy_id'  => '04e7b28bcfba4395a05946c94f76a8a4'
        );
        $ret[10087] = array(
            'ivid' => -8,
            'title' => '两天不取将退回',
            'fileName' => '10087',
            'filePath' => $path.'/sample/10087.wav',
            'voiceSec' => 9,
            'szzy_id'  => 'de8855b84fcf4846991bb169e0d06978'
        );
        $ret[10088] = array(
            'ivid' => -9,
            'title' => '楼下快取',
            'fileName' => '10088',
            'filePath' => $path.'/sample/10088.wav',
            'voiceSec' => 9,
            'szzy_id'  => '4c621d38417a454580ad2579d42580be'
        );
        $ret[10089] = array(
            'ivid' => -10,
            'title' => '学校北门口领取',
            'fileName' => '10089',
            'filePath' => $path.'/sample/10089.wav',
            'voiceSec' => 9,
            'szzy_id'  => 'b8a89953ac834d618bd1d41c585edfc8'
        );
        $ret[10090] = array(
            'ivid' => -1,
            'title' => '代收点快取',
            'fileName' => '10090',
            'filePath' => $path.'/sample/10090.wav',
            'voiceSec' => 13,
            'szzy_id'  => 'ce668e64851c44c5b689adc40aacecfb'
        );
        $ret[10091] = array(
            'ivid' => -2,
            'title' => '电话无法联系放门卫尽快取',
            'fileName' => '10091',
            'filePath' => $path.'/sample/10091.wav',
            'voiceSec' => 12,
            'szzy_id'  => 'ec8fbaf6bab74e2a956409c669fcf994'
        );
        $ret[10092] = array(
            'ivid' => -3,
            'title' => '放门卫尽快取',
            'fileName' => '10092',
            'filePath' => $path.'/sample/10092.wav',
            'voiceSec' => 9,
            'szzy_id'  => 'd565baac54114d018dbd93cae2dad2c4'
        );
        $ret[10093] = array(
            'ivid' => -4,
            'title' => '放前台尽快取',
            'fileName' => '10093',
            'filePath' => $path.'/sample/10093.wav',
            'voiceSec' => 8,
            'szzy_id'  => '5c8cc20389ae4f64b7d0b184fc6f2881'
        );
        $ret[10094] = array(
            'ivid' => -5,
            'title' => '放物业尽快取',
            'fileName' => '10094',
            'filePath' => $path.'/sample/10094.wav',
            'voiceSec' => 9,
            'szzy_id'  => 'c5a5ed7ae38e4de3b8afc3b0b1033a7a'
        );
        $ret[10095] = array(
            'ivid' => -6,
            'title' => '家中无人放门卫尽快取',
            'fileName' => '10095',
            'filePath' => $path.'/sample/10095.wav',
            'voiceSec' => 11,
            'szzy_id'  => 'a3484862b0c845238a84e94c7dac3aa8'
        );
        $ret[10096] = array(
            'ivid' => -7,
            'title' => '快递到期提醒',
            'fileName' => '10096',
            'filePath' => $path.'/sample/10096.wav',
            'voiceSec' => 12,
            'szzy_id'  => 'ca36d90184054ee89d6eb2780264e326'
        );
        $ret[10097] = array(
            'ivid' => -8,
            'title' => '两天不取将退回',
            'fileName' => '10097',
            'filePath' => $path.'/sample/10097.wav',
            'voiceSec' => 8,
            'szzy_id'  => 'dbee898987a24a91a19afbe667082362'
        );
        $ret[10098] = array(
            'ivid' => -9,
            'title' => '楼下快取',
            'fileName' => '10098',
            'filePath' => $path.'/sample/10098.wav',
            'voiceSec' => 9,
            'szzy_id'  => '403bbbd6b34b47b286cc7336000c8305'
        );
        $ret[10099] = array(
            'ivid' => -10,
            'title' => '学校北门口领取',
            'fileName' => '10099',
            'filePath' => $path.'/sample/10099.wav',
            'voiceSec' => 9,
            'szzy_id'  => '8bca3db9701a4776a539c95bf8486ee5'
        );
        $ret[10100] = array(
            'ivid' => -1,
            'title' => '代收点快取',
            'fileName' => '10100',
            'filePath' => $path.'/sample/10100.wav',
            'voiceSec' => 12,
            'szzy_id'  => 'ac0fa97e417f4f9fbf1b9a361196c03d'
        );
        $ret[10101] = array(
            'ivid' => -2,
            'title' => '电话无法联系放门卫尽快取',
            'fileName' => '10101',
            'filePath' => $path.'/sample/10101.wav',
            'voiceSec' => 14,
            'szzy_id'  => '88c8b25f183e46eb94b9f0b11a5d1868'
        );
        $ret[10102] = array(
            'ivid' => -3,
            'title' => '放门卫尽快取',
            'fileName' => '10102',
            'filePath' => $path.'/sample/10102.wav',
            'voiceSec' => 10,
            'szzy_id'  => 'b059e93b3c0541f9b1fd63016d8d2aa1'
        );
        $ret[10103] = array(
            'ivid' => -4,
            'title' => '放前台尽快取',
            'fileName' => '10103',
            'filePath' => $path.'/sample/10103.wav',
            'voiceSec' => 9,
            'szzy_id'  => '5ebc74c94b80497281cc79cc0e0df77b'
        );
        $ret[10104] = array(
            'ivid' => -5,
            'title' => '放物业尽快取',
            'fileName' => '10104',
            'filePath' => $path.'/sample/10104.wav',
            'voiceSec' => 10,
            'szzy_id'  => 'aab0b783046a4a7e886271093d23b645'
        );
        $ret[10105] = array(
            'ivid' => -6,
            'title' => '家中无人放门卫尽快取',
            'fileName' => '10105',
            'filePath' => $path.'/sample/10105.wav',
            'voiceSec' => 12,
            'szzy_id'  => 'c01a45d9b8d54748a3556113c8e0eb72'
        );
        $ret[10106] = array(
            'ivid' => -7,
            'title' => '快递拒收提醒',
            'fileName' => '10106',
            'filePath' => $path.'/sample/10106.wav',
            'voiceSec' => 14,
            'szzy_id'  => '2432fb533b67431da8c15e6302430f61'
        );
        $ret[10107] = array(
            'ivid' => -8,
            'title' => '两天不取将退回',
            'fileName' => '10107',
            'filePath' => $path.'/sample/10107.wav',
            'voiceSec' => 11,
            'szzy_id'  => 'cd1fadb03a7146c4a22e7b73858c3082'
        );
        $ret[10108] = array(
            'ivid' => -9,
            'title' => '楼下快取',
            'fileName' => '10108',
            'filePath' => $path.'/sample/10108.wav',
            'voiceSec' => 10,
            'szzy_id'  => 'd5c69110c5af4e699321585dfa005532'
        );
        $ret[10109] = array(
            'ivid' => -10,
            'title' => '学校北门口领取',
            'fileName' => '10109',
            'filePath' => $path.'/sample/10109.wav',
            'voiceSec' => 10,
            'szzy_id'  => '5a0f5a7d587849afb453d15fb2724c49'
        );
        return isset($ret[$filename]) ? $ret[$filename] : NULL;
    }
}